package com.juyu.miliao.api.controller;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.juyu.miliao.api.domain.VipRight;
import com.juyu.miliao.api.service.VipRightService;

/**
 * 获取vip特权描述
 * @author wbf
 * 2018年6月25日
 */
@RestController
@RequestMapping("/vipRight")
public class VipRightController {
	@Resource
	private VipRightService vipRightService;

	/**
	 * 获取vip特权描述
	 * 
	 * @return
	 */
	@GetMapping
	public List<VipRight> getVipRightList() {
		return vipRightService.getVipRightList();
	}
}
